package com.carl.config;

import com.carl.configuration.SayHello;
import org.springframework.context.annotation.Bean;

public class HelloConfiguration {

    @Bean
    public SayHello sayHelloToWorld() {
        SayHello hello = new SayHello();
        String test = hello.helloString();
        System.out.println("$$$ 加载了sayHello 类  @@ ===> " + test);
        return hello ;
    }

}
